package com.lixinlei.dubbo.provider.quickstart;

import com.alibaba.dubbo.config.annotation.Service;
import com.lixinlei.dubbo.ServiceAPI;
import org.springframework.stereotype.Component;

@Component
@Service(interfaceClass = ServiceAPI.class) // com.alibaba.dubbo.config.annotation.Service
public class QuickStartServiceImpl implements ServiceAPI {

    @Override
    public String sendMessage(String message) {
        return "Quick-Start-Service-Impl : " + message;
    }

}
